<table class="IadTableForm">
	<tbody>

		<tr class="prop">
			<td valign="top" class="name"><label for="username"><g:message code="professor.username.label" default="Nome de Usuário" /></label></td>
			<td valign="top" class="value ${hasErrors(bean: professorInstance, field: 'username', 'errors')}"><g:textField name="username"
					value="${professorInstance?.username}" /></td>
		</tr>

		<tr class="prop">
			<td valign="top" class="name"><label for="passwordHash"><g:message code="professor.passwordHash.label" default="Senha" /></label></td>
			<td valign="top" class="value ${hasErrors(bean: professorInstance, field: 'passwordHash', 'errors')}"><g:textField name="passwordHash"
					value="${professorInstance?.passwordHash}" /></td>
		</tr>

		<tr class="prop">
			<td valign="top" class="name"><label for="nome"><g:message code="professor.nome.label" default="Nome" /></label></td>
			<td valign="top" class="value ${hasErrors(bean: professorInstance, field: 'nome', 'errors')}"><g:textField name="nome"
					value="${professorInstance?.nome}" /></td>
		</tr>

		<tr class="prop">
			<td valign="top" class="name"><label for="telefone"><g:message code="professor.telefone.label" default="Telefone" /></label></td>
			<td valign="top" class="value ${hasErrors(bean: professorInstance, field: 'telefone', 'errors')}"><g:textField name="telefone"
					value="${professorInstance?.telefone}" /></td>
		</tr>

		<tr class="prop">
			<td valign="top" class="name"><label for="matricula"><g:message code="professor.matricula.label" default="Matricula" /></label></td>
			<td valign="top" class="value ${hasErrors(bean: professorInstance, field: 'matricula', 'errors')}"><g:textField name="matricula" maxlength="6"
					value="${professorInstance?.matricula}" /></td>
		</tr>

		<tr class="prop">
			<td valign="top" class="name"><label for="dataDeIngresso"><g:message code="professor.dataDeIngresso.label" default="Data De Ingresso" /></label></td>
			<td valign="top" class="value ${hasErrors(bean: professorInstance, field: 'dataDeIngresso', 'errors')}"><g:datePicker name="dataDeIngresso"
					precision="day" value="${professorInstance?.dataDeIngresso}" /></td>
		</tr>



		<tr class="prop">
			<td valign="top" class="name"><label for="departamento"><g:message code="professor.departamento.label" default="Departamento" /></label></td>
			<td valign="top" class="value ${hasErrors(bean: professorInstance, field: 'departamento', 'errors')}"><g:select name="departamento.id"
					from="${br.academia.Departamento.list()}" optionKey="id" value="${professorInstance?.departamento?.id}" noSelection="['null': '']" /></td>
		</tr>



		<tr class="prop">
			<td valign="top" class="name"><label for="CPF"><g:message code="professor.CPF.label" default="CPF" /></label></td>
			<td valign="top" class="value ${hasErrors(bean: professorInstance, field: 'CPF', 'errors')}"><g:textField name="CPF"
					value="${professorInstance?.CPF}" /></td>
		</tr>

		<tr class="prop">
			<td valign="top" class="name"><label for="email"><g:message code="professor.email.label" default="Email" /></label></td>
			<td valign="top" class="value ${hasErrors(bean: professorInstance, field: 'email', 'errors')}"><g:textField name="email"
					value="${professorInstance?.email}" /></td>
		</tr>



	</tbody>
</table>